package com.csdj.server.pojo;
    

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
    
import com.baomidou.mybatisplus.annotation.TableId;
    
import com.baomidou.mybatisplus.annotation.TableName;
    
import io.swagger.annotations.ApiModel;
    
import io.swagger.annotations.ApiModelProperty;

import lombok.*;

import lombok.experimental.Accessors;
    

import java.io.Serializable;
    

/**
 * <p>
 * 
 * </p>
 *
 * @author zhoubin
 * @since 2022-12-12
 */
@Data
@NoArgsConstructor
@RequiredArgsConstructor
@EqualsAndHashCode(callSuper = false,of = "name")
@Accessors(chain = true)
@TableName("t_nation")
@ApiModel(value="Nation对象", description="")
public class Nation implements Serializable {

    private static final long serialVersionUID = 1L;
    

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    
    @ApiModelProperty(value = "民族")
    @NonNull
    @Excel(name = "民族")
    private String name;
    


}
